﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;

using System.Text;
using System.Windows.Forms;

namespace QUANLYCHAMCONG.PL.CMS
{
    public partial class Links : UserControl
    {
        #region "Property"
        private string _Danhmuc;

        public string Danhmuc
        {
            get { return _Danhmuc; }
            set { _Danhmuc = value; }
        }
        private string _Tinhnang;

        public string Tinhnang
        {
            get { return _Tinhnang; }
            set { _Tinhnang = value; }
        }
        #endregion
        #region "Method"
        public void SetValues()
        {
            this.lbdanhmuc.Text =Danhmuc;
            this.lbchucnang.Text = Tinhnang;
        }
        public void SetValues(string danhmuc, string Chucnang)
        {
            this.lbdanhmuc.Text = danhmuc;
            this.lbchucnang.Text = Chucnang;
        }
        #endregion
        public Links()
        {
            InitializeComponent();
        }
    }
}
